NEU_ERR_SUCCESS = 0

NEU_ERR_EINTERNAL = 1001
NEU_ERR_BODY_IS_WRONG = 1002
NEU_ERR_PARAM_IS_WRONG = 1003
NEU_ERR_NEED_TOKEN = 1004
NEU_ERR_DECODE_TOKEN = 1005
NEU_ERR_EXPIRED_TOKEN = 1006
NEU_ERR_VALIDATE_TOKEN = 1007
NEU_ERR_INVALID_TOKEN = 1008
NEU_ERR_INVALID_USER_OR_PASSWORD = 1009
NEU_ERR_IS_BUSY = 1010
NEU_ERR_FILE_NOT_EXIST = 1011
NEU_ERR_INVALID_PASSWORD_LEN = 1012
NEU_ERR_DUPLICATE_PASSWORD = 1013
NEU_ERR_COMMAND_EXECUTION_FAILED = 1014
NEU_ERR_IP_ADDRESS_INVALID = 1015
NEU_ERR_IP_ADDRESS_IN_USE = 1016
NEU_ERR_INVALID_USER = 1017
NEU_ERR_INVALID_PASSWORD = 1018

NEU_ERR_NODE_EXIST = 2002
NEU_ERR_NODE_NOT_EXIST = 2003
NEU_ERR_NODE_SETTING_INVALID = 2004
NEU_ERR_NODE_SETTING_NOT_FOUND = 2005
NEU_ERR_NODE_NOT_READY = 2006
NEU_ERR_NODE_IS_RUNNING = 2007
NEU_ERR_NODE_NOT_RUNNING = 2008
NEU_ERR_NODE_IS_STOPED = 2009
NEU_ERR_NODE_NAME_TOO_LONG = 2010
NEU_ERR_NODE_NOT_ALLOW_DELETE = 2011
NEU_ERR_NODE_NOT_ALLOW_SUBSCRIBE = 2012
NEU_ERR_NODE_NOT_ALLOW_UPDATE = 2013
NEU_ERR_NODE_NOT_ALLOW_MAP = 2014
NEU_ERR_NODE_NAME_EMPTY = 2015

NEU_ERR_GROUP_ALREADY_SUBSCRIBED = 2101
NEU_ERR_GROUP_NOT_SUBSCRIBE = 2102
NEU_ERR_GROUP_NOT_ALLOW = 2103
NEU_ERR_GROUP_EXIST = 2104
NEU_ERR_GROUP_PARAMETER_INVALID = 2105
NEU_ERR_GROUP_NOT_EXIST = 2106
NEU_ERR_GROUP_NAME_TOO_LONG = 2107
NEU_ERR_GROUP_MAX_GROUPS = 2108

NEU_ERR_TAG_NOT_EXIST = 2201
NEU_ERR_TAG_NAME_CONFLICT = 2202
NEU_ERR_TAG_ATTRIBUTE_NOT_SUPPORT = 2203
NEU_ERR_TAG_TYPE_NOT_SUPPORT = 2204
NEU_ERR_TAG_ADDRESS_FORMAT_INVALID = 2205
NEU_ERR_TAG_NAME_TOO_LONG = 2206
NEU_ERR_TAG_ADDRESS_TOO_LONG = 2207
NEU_ERR_TAG_DESCRIPTION_TOO_LONG = 2208
NEU_ERR_TAG_PRECISION_INVALID = 2209
NEU_ERR_TAG_EXIST = 2210
NEU_ERR_TAG_DECIMAL_INVALID = 2211
NEU_ERR_TAG_BIAS_INVALID = 2212

NEU_ERR_LIBRARY_NOT_FOUND = 2301
NEU_ERR_LIBRARY_INFO_INVALID = 2302
NEU_ERR_LIBRARY_NAME_CONFLICT = 2303
NEU_ERR_LIBRARY_FAILED_TO_OPEN = 2304
NEU_ERR_LIBRARY_MODULE_INVALID = 2305
NEU_ERR_LIBRARY_SYSTEM_NOT_ALLOW_DEL = 2306
NEU_ERR_LIBRARY_NOT_ALLOW_CREATE_INSTANCE = 2307
NEU_ERR_LIBRARY_ARCH_NOT_SUPPORT = 2308
NEU_ERR_LIBRARY_IN_USE = 2309
NEU_ERR_LIBRARY_ADD_FAIL = 2310
NEU_ERR_LIBRARY_MODULE_ALREADY_EXIST = 2311
NEU_ERR_LIBRARY_MODULE_NOT_EXISTS = 2312
NEU_ERR_LIBRARY_MODULE_KIND_NOT_SUPPORT = 2313
NEU_ERR_LIBRARY_MODULE_VERSION_NOT_MATCH = 2314
NEU_ERR_LIBRARY_NAME_NOT_CONFORM = 2315
NEU_ERR_LIBRARY_CLIB_NOT_MATCH = 2316
NEU_ERR_LIBRARY_UPDATE_FAIL = 2317

NEU_ERR_LICENSE_NOT_FOUND = 2400
NEU_ERR_LICENSE_INVALID = 2401
NEU_ERR_LICENSE_EXPIRED = 2402
NEU_ERR_LICENSE_DISABLED = 2403
NEU_ERR_LICENSE_MAX_NODES = 2404
NEU_ERR_LICENSE_MAX_TAGS = 2405
NEU_ERR_LICENSE_TOKEN_NOT_MATCH = 2406
NEU_ERR_LICENSE_BAD_CLOCK = 2407
NEU_ERR_LICENSE_MODULE_INVALID = 2408
NEU_ERR_LICENSE_TOKEN_NOT_FOUND = 2409

NEU_ERR_TEMPLATE_EXIST = 2500
NEU_ERR_TEMPLATE_NOT_FOUND = 2501
NEU_ERR_TEMPLATE_NAME_TOO_LONG = 2502

NEU_ERR_PLUGIN_READ_FAILURE = 3000
NEU_ERR_PLUGIN_WRITE_FAILURE = 3001
NEU_ERR_PLUGIN_DISCONNECTED = 3002
NEU_ERR_PLUGIN_TAG_NOT_ALLOW_READ = 3003
NEU_ERR_PLUGIN_TAG_NOT_ALLOW_WRITE = 3004
NEU_ERR_PLUGIN_TAG_TYPE_MISMATCH = 3007
NEU_ERR_PLUGIN_TAG_VALUE_EXPIRED = 3008
NEU_ERR_PLUGIN_PROTOCOL_DECODE_FAILURE = 3009
NEU_ERR_PLUGIN_NOT_RUNNING = 3010
NEU_ERR_PLUGIN_TAG_NOT_READY = 3011
NEU_ERR_PLUGIN_PACKET_OUT_OF_ORDER = 3012
NEU_ERR_PLUGIN_NAME_TOO_LONG = 3013
NEU_ERR_PLUGIN_NOT_FOUND = 3014
NEU_ERR_PLUGIN_DEVICE_NOT_RESPONSE = 3015
NEU_ERR_PLUGIN_NOT_SUPPORT_TEMPLATE = 3016
NEU_ERR_PLUGIN_NOT_SUPPORT_WRITE_TAGS = 3017
NEU_ERR_PLUGIN_NOT_SUPPORT_READ_SYNC = 3018
NEU_ERR_PLUGIN_TYPE_NOT_SUPPORT = 3019
NEU_ERR_PLUGIN_TAG_VALUE_OUT_OF_RANGE  = 3020
NEU_ERR_PLUGIN_NOT_SUPPORT_SCAN_TAGS  = 3021
NEU_ERR_PLUGIN_NOT_SUPPORT_TEST_READ_TAG = 3022

NEU_ERR_MQTT_SUBSCRIBE_FAILURE = 4010